package com.chris.common.constant;

public class WareConstant {

    public enum MergeStatusEnum {

        created(0, "已创建"),
        assigned(1, "已分配"),
        receive(2, "已领取"),
        finish(3, "已完成"),
        error(4, "异常");

        private Integer code;

        private String desc;

        MergeStatusEnum(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public Integer getCode() {
            return code;
        }


    }

    public enum PurchaseDetailStatusEnum {

        created(0, "新建"),
        assigned(1, "已分配"),
        buying(2, "正在采购"),
        finish(3, "已完成"),
        error(4, "采购失败");

        private Integer code;

        private String desc;

        PurchaseDetailStatusEnum(Integer code, String desc) {
            this.code = code;
            this.desc = desc;
        }

        public Integer getCode() {
            return code;
        }


    }
}
